home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part II.srd / Part II.srd.rsrc / PICT_47.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  134KB  |  816x1056  |  8-bit (256 colors)
Labels: book | reckoner | sky | tree | windowpane
OCR: Chapter -Miscellaneous Topics Toolbox knows about in the case ofa Window, the window record Other parts of the object such as the window actions, must still be initialized b the application's code Certain objects such as those of class Icon, get all of their data from resource item, and simply read the resource data whenever they are called upon to op any thing Another way to use resources is for non Toolbox objects that have no predefined template type For these objects, you will need to use an existing type such as STR, or define your own types using ResEdit (see Putting Together a Mops Application) Defining and using resources Mops provides an easy way to define resource item from within your application For instance: resource myWind Type WIND 256 set: myWind defi ines resource called m ...